﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MudEngine.Parsing.AST
{
    public class ForStatement : Statement
    {
		public AstNodeCollection Initializers { get; set; }
		public Expression Expression { get; set; }
		public Expression Inc { get; set; }
		public Statement Statement { get; set; }

		public ForStatement() : base()
		{
			this.Initializers = new AstNodeCollection();
		}

		public override void AcceptVisitor<C>(IAstNodeVisitor<C> visitor, C ctx)
		{
			visitor.VisitForStatement(this, ctx);
		}
    }
}
